package com.yxt.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 
 * 
 * @author august
 * @email 379249906@qq.com
 * @date 2020-09-10 14:02:18
 */
@Data
@TableName("sys_tenant")
public class SysTenantEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 客户端id
	 */
	private String clientId;
	/**
	 * 客户端密码
	 */
	private String clientSecret;
	/**
	 * token有效期
	 */
	private Integer accessTokenValidity;
	/**
	 * 刷新token有效期
	 */
	private Integer refreshTokenValidity;
	/**
	 * 系统部署所在区域
	 */
	private String area;

}
